package com.zjzywl.smoke.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.zjzywl.smoke.entity.Picture;

@Repository
public interface PictureRepository extends JpaRepository<Picture,Long>{

	List<Picture> findByUuid(String uuid);

	List<Picture> findByUuidAndType(String uuid, String type);

}
